package com.edais.service;

import java.util.List;
import java.util.Map;

import com.edais.domain.RateRisesCoupons;
import com.edais.domain.UserSign;

public interface RateRisesCouponsService {
	public Map<String,Object> queryRateRisesCouponsListByParams(Map<String,Object> paramsMap)  throws Exception ;
	
	public Map<String,Object> addRateRisesCoupons(Map<String,Object> paramsMap) throws NumberFormatException, Exception;
	
	/**
	 * 获取参数
	 * @param map
	 * @return
	 * @throws Exception
	 */
	public String findParamValueByName(String key) throws Exception;
	
	public Map<String,Object> getTodayRateRisesCouponsByGetway(Map<String,Object> paramsMap) throws Exception ;
	
	public Map<String,Object> useRateRisesCoupons(Map<String,Object> paramsMap) throws Exception ;
	
	public Map<String,Object> userCouponsLuckDraw(Map<String,Object> paramsMap)throws NumberFormatException, Exception ;
	
	public Map<String,Object> showCouponsLuckDraw(Map<String,Object> paramsMap);
	
	public Map<String,Object> queryLootShareInfo(Map<String,Object> paramsMap);
	
	public List<RateRisesCoupons> getRateRisesListByRateIds(String [] rateIdsArray);
	
	public List<RateRisesCoupons> getRateRisesCouponsListByOrderId(Map<String,Object> paramsMap);
	
	public Long getUserLDActiveOrderId(String userId) throws Exception ;
	
	public Map<String,Object> queryScatteredByRateId(Map<String,Object> paramsMap);
	
	public Map<String,Object> queryRateRisesByRateId(Map<String,Object> paramsMap);
	
	public List<RateRisesCoupons> getAllRateRisesCouponsListByOrderId(Map<String,Object> paramsMap);
	
	public Map<String,Object> queryUserTodayRateRises(Map<String,Object> paramsMap) throws Exception ;
	
	public Map<String,Object> shareKNotifyAddCoupons(Map<String,Object> paramsMap) throws Exception ;
	
	public Map<String,Object> checkShareRateRises(Map<String,Object> paramsMap) throws Exception;
	
	public Integer queryRateRisesCouponsListByParamsCount(Map<String,Object> paramsMap)throws Exception ;
	
	public Map<String,Object> getTodayUserSignInfo(Map<String,Object> paramsMap);
	
	public List<RateRisesCoupons> queryRateRisesCouponsListByUser(Map<String,Object> paramsMap)  throws Exception ;
	
	public Integer queryRateRisesCouponsListByUserCount(Map<String,Object> paramsMap)  throws Exception ;
}
